package com.hoshiicloud.market.param.activities;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @Author:campchen
 * @Date:Created in 下午 03:38 2019/8/23
 * @PACKAGENAME com.hoshiicloud.market.entity.activities
 * @Description
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ApiModel(value = "预售促新")
public class ActivitiesAddParam implements Serializable {

    public static final long serialVersionUID = 1L;

    @ApiModelProperty(name = "id", value = "id", example = "")
    private Long id;

    @ApiModelProperty(name = "companyId", value = "租户id", example = "")
    private Long companyId;

    @ApiModelProperty(name = "platformId", value = "平台id", example = "")
    private Long platformId;

    @ApiModelProperty(name = "storeId", value = "店铺id", example = "")
    private Long storeId;

    @ApiModelProperty(name = "name", value = "活动名称", example = "")
    private String name;

    @ApiModelProperty(name = "context", value = "活动内容", dataType = "com.hoshiicloud.market.param.activities.ActivitiesContext")
    private ActivitiesContext context;

    @ApiModelProperty(name = "status", value = "状态 0-已关闭 1-未关闭", example = "")
    private Integer status;

    @ApiModelProperty(name = "createdBy", value = "创建人", required = true, dataType = "java.lang.String", example = "admin", hidden = true)
    private String createdBy;
}
